// 通用响应类型
export interface ApiResponse<T = any> {
  code: number
  message: string
  data: T
}

// 分页参数
export interface PageParams {
  current: number
  pageSize: number
}

// 分页响应
export interface PageResponse<T = any> {
  list: T[]
  total: number
  current: number
  pageSize: number
}

// 路由元信息
export interface RouteMeta {
  title: string
  icon?: string
  keepAlive?: boolean
  hidden?: boolean
}
